<!-- /.section, /#navigation -->
<script type="text/javascript" charset="utf-8">
			/* Global var for counter */
			var giCount = 1;
			
			$(document).ready(function() {
				$('#example').dataTable();
			} );
			</script>
<div id="main-wrapper">
  <div id="main" class="clearfix with-navigation">
    <div id="content" class="column">
      <div class="section">
      	<!--{$htmlErrMsg}-->
      	
        <div class="tabs">
          <ul class="tabs primary clearfix">
          
          <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_MEMBER_ADMIN) }-->
            <li class="active">
              <a href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php" class="active">
                <span class="tab">members Management</span>
              </a>
            </li>
           <!--{/if}-->
           
           <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_NEWS_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php?mode=showNewslist">
                <span class="tab">Announcement/even Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_CONFERENCE_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->conference/index.php">
                <span class="tab">conference Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_ELECT_ADMIN) }-->
             <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php">
                <span class="tab">elect Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->pay/show_payment_details.php">
                <span class="tab">payment Management</span>
              </a>
            </li>
            
            <!--{/if}-->
          </ul>
        </div>
        
        <div id="content-area">
          <form action="<!--{$smarty.const.HTTP_URL}-->mypage/index.php" method="post" id="user-register" >
          <input type="hidden" name="mode" id="mode" value="dataExport" />
          <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
          	<div style="height: 20px" id="container" >
				<input name="joinConference" id="joinConference" value="Data Export" class="form-submit" type="submit" style=" float:right; width:100px; ">
			</div>
            <div>
               		<div style="height: 500px" id="container" >
					<div id="demo">
						<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
							<thead>
								<tr>
									<th>ID</th>
									<th>EMAIL</th>
									<th>NAME</th>
									<th>AUTHORITY</th>
									<th>ENDDATE</th>
									<th>GROUP</th>
									<th>STATUS</th>
									<th>EDIT</th>
								</tr>
							</thead>
							<tbody>
							<!--{section name=cnt loop=$userDates}-->
								<tr>
									<td><!--{$userDates[cnt].id|escape}--></td>
									<td><a target="_blank" href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php?mode=showUserInfo&userId=<!--{$userDates[cnt].id|escape}-->">
											<!--{$userDates[cnt].mail_add|escape}-->
										</a>
									</td>
									<td><!--{$userDates[cnt].lastname|escape}--> <!--{$userDates[cnt].firstname|escape}--></td>
									<td><!--{$userDates[cnt].authority|escape}--></td>
									<td><!--{$userDates[cnt].paymented_date|date_format:"%Y/%m/%d"}--></td>
									<td><!--{$userDates[cnt].member_flg|escape}--></td>
									<td><!--{$userDates[cnt].status|escape}--></td>
								<!--{if $userDates[cnt].authority_flg == "00"}-->
									<td>
										edit 
										block
									</td>
								<!--{else}-->
									<!--{if $userDates[cnt].status == "Blocked"}-->
									<td>
										<a target="_blank" href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php?mode=edit&userId=<!--{$userDates[cnt].id|escape}-->">edit</a> 
										<a  href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php?mode=active&userId=<!--{$userDates[cnt].id|escape}-->">Active</a>
									</td>
									<!--{else}-->
									<td>
										<a target="_blank" href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php?mode=edit&userId=<!--{$userDates[cnt].id|escape}-->">edit</a> 
										<a href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php?mode=block&userId=<!--{$userDates[cnt].id|escape}-->">block</a>
									</td>
									<!--{/if}-->
								<!--{/if}-->
								</tr>
							<!--{/section}-->
							</tbody>
						</table>
					</div>
				</div>
            </div>
          </form>
        </div>
      </div>
    </div>
    <!-- /.section, /#content -->
  </div>
</div>
<!-- /#main, /#main-wrapper -->
